<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/push/syspush" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>
  <div class="page">
    <div class="page-hd">
      <h1>{$Think.lang.推送中心}</h1>
    </div>

    <div class="navbar">
      <ul class="nav">
        <li class="active"><a href="#">系统级推送</a>
        </li>
        <li><a href="{:URL('admin/Push/apppush')}">应用级推送</a>
        </li>
      </ul>
    </div>

    <div class="form">
      <form action="{:URL('admin/Push/dosyspush')}" id="syspush_form" method="POST">
        <dl class="kv">
          <dt>
            <label>{$Think.lang.addressee}：</label>
          </dt>
          <dd>
            <select id="roleid" name="id">
              <option value="0">{$Think.lang.all}{$Think.lang.user}</option>
              <option value="-1">选择用户</option>
              <volist name="list" id="vo">
                <option value="{$vo['id']}">{$vo['name']}</option>
              </volist>
              <input type="button" id="select_user" class="btn" style="margin-left:10px; display: none;" value="选择用户" />
              <div id="select_userlist_div">
              </div>
            </select>
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>{$Think.lang.title}：</label>
          </dt>
          <dd>
            <input class="input-text" type="text" id="title" name="title" value="{$res.name}" required/>
            <div class="kv-error"></div>
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>{$Think.lang.content}：</label>
          </dt>
          <dd>
            <textarea name="content" id="content" rows="10" cols="80" required></textarea>
            <div class="kv-error"></div>
          </dd>
        </dl>
        <div class="actions">
          <a href="javascript:;" class="btn btn-y" id="J_do">{$Think.lang.OK}</a>
        </div>
      </form>
    </div>
  </div>
</body>

</html>
